home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmDropSiteQueryStackingOrder.z
/
XmDropSiteQueryStackingOrder
Wrap
Text File
|
1998-10-30
|
5KB
|
133 lines
XXXXmmmmDDDDrrrrooooppppSSSSiiiitttteeeeQQQQuuuueeeerrrryyyySSSSttttaaaacccckkkkiiiinnnnggggOOOOrrrrddddeeeeUUUUrrrrNNNN((((IIII3333XXXXXXXX))))SSSSyyyyssssXXXXttttmmmmeeeeDDDDmmmmrrrrooooVVVVppppSSSSiiiitttteeeeQQQQuuuueeeerrrryyyySSSSttttaaaacccckkkkiiiinnnnggggOOOOrrrrddddeeeerrrr((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmDDDDrrrrooooppppSSSSiiiitttteeeeQQQQuuuueeeerrrryyyySSSSttttaaaacccckkkkiiiinnnnggggOOOOrrrrddddeeeerrrr - A Drag and Drop function that
returns the parent, a list of children, and the number of
children for a specified widget
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/DragDrop.h>
SSSSttttaaaattttuuuussss XXXXmmmmDDDDrrrrooooppppSSSSiiiitttteeeeQQQQuuuueeeerrrryyyySSSSttttaaaacccckkkkiiiinnnnggggOOOOrrrrddddeeeerrrr(
WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
WWWWiiiiddddggggeeeetttt ****ppppaaaarrrreeeennnntttt____rrrreeeettttuuuurrrrnnnn,
WWWWiiiiddddggggeeeetttt ********cccchhhhiiiilllldddd____rrrreeeettttuuuurrrrnnnnssss,
CCCCaaaarrrrddddiiiinnnnaaaallll ****nnnnuuuummmm____cccchhhhiiiilllldddd____rrrreeeettttuuuurrrrnnnnssss);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmDDDDrrrrooooppppSSSSiiiitttteeeeQQQQuuuueeeerrrryyyySSSSttttaaaacccckkkkiiiinnnnggggOOOOrrrrddddeeeerrrr obtains the parent, a list of
children registered as drop sites, and the number of
children registered as drop sites for a given widget. The
children are listed in current stacking order, from bottom-
most (first child) to the top-most (last child). This
function allocates memory for the returned data that must be
freed by calling XXXXttttFFFFrrrreeeeeeee.
_w_i_d_g_e_t Specifies the widget ID. For this widget, you
obtain the list of its children, its parent, and
the number of children.
_p_a_r_e_n_t__r_e_t_u_r_n
Returns the widget ID of the drop site parent of
the specified widget.
_c_h_i_l_d__r_e_t_u_r_n_s
Returns a pointer to the list of drop site
children associated with the specified widget.
The function allocates memory to hold the list.
The application is responsible for managing the
allocated space. The application can recover the
allocated space by calling XXXXttttFFFFrrrreeeeeeee.
_n_u_m__c_h_i_l_d__r_e_t_u_r_n_s
Returns the number of drop site children for the
specified widget.
For a complete definition of DropSite and its associated
resources, see XXXXmmmmDDDDrrrrooooppppSSSSiiiitttteeee(3).
RRRREEEETTTTUUUURRRRNNNN
Returns 0 (zero) if the routine fails; returns a nonzero
value if it succeeds.
Page 1 (printed 10/24/98)
XXXXmmmmDDDDrrrrooooppppSSSSiiiitttteeeeQQQQuuuueeeerrrryyyySSSSttttaaaacccckkkkiiiinnnnggggOOOOrrrrddddeeeeUUUUrrrrNNNN((((IIII3333XXXXXXXX))))SSSSyyyyssssXXXXttttmmmmeeeeDDDDmmmmrrrrooooVVVVppppSSSSiiiitttteeeeQQQQuuuueeeerrrryyyySSSSttttaaaacccckkkkiiiinnnnggggOOOOrrrrddddeeeerrrr((((3333XXXX))))
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmDDDDrrrrooooppppSSSSiiiitttteeee(3) and XXXXmmmmDDDDrrrrooooppppSSSSiiiitttteeeeCCCCoooonnnnffffiiiigggguuuurrrreeeeSSSSttttaaaacccckkkkiiiinnnnggggOOOOrrrrddddeeeerrrr(3).
Page 2 (printed 10/24/98)